﻿#region Copyright (C) Sector7 Software Studio. All rights reserved
/*******************************************************************************************
 * Creation
 *      Author:         Wolf Lai
 *      Date:           2013/3/22 星期五 0:48:58
 *      Version:        
 * Modification 
 *      Author: 
 *      Date: 
 *      Description: 
 *      Version:
 *******************************************************************************************/
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Sector7.Framework.DB;
using Sector7.Framework.EntityType;

namespace Sector7.Framework.DAO
{
    /// <summary>
    /// 数据元值域项数据访问接口
    /// </summary>
    public interface IValueDomainItemDAO : IDAOBase<S7_ValueDomainItem>
    {
        /// <summary>
        /// 批量创建数据元值域项
        /// </summary>
        /// <param name="items">数据元值域项列表</param>
        /// <returns></returns>
        int Create(List<S7_ValueDomainItem> items);

        /// <summary>
        /// 根据数据元值域编号读取所有锁具元值域项
        /// </summary>
        /// <param name="domainId">数据元值域编号</param>
        /// <returns></returns>
        List<S7_ValueDomainItem> ReadAll(string domainId);
    }
}
